//
//  Student.m
//  UI8_通讯录课后作业
//
//  Created by dllo on 15/11/18.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "Student.h"

@implementation Student

- (void)dealloc
{
    [_name release];
    [_phone release];
    [_sex release];
    [_age release];
    [_image release];
    [super dealloc];
}

- (instancetype)initWithName:(NSString *)name phone:(NSString *)phone sex:(NSString *)sex  age:(NSString *)age image:(NSString *)image
{
    self = [super init];
    if (self) {
        [self setName:name];
        [self setPhone:phone];
        [self setSex:sex];
        [self setAge:age];
        [self setImage:image];
    }
    return self;
}











@end
